home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 42 / Amiga Format AFCD42 (Issue 126, Aug 1999).iso / -serious- / programming / basic / newiconsblitz / nibexamples / nib_exampletchk.bb2 < prev   
Unknown  |  1999-05-14  |  1.9 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 00 3b 20 45 78 61 6d | 70 6c 65 20 6f 66 20 49 |;.; Exam|ple of I|
|00000010| 63 6f 6e 20 74 79 70 65 | 2d 63 68 65 63 6b 69 6e |con type|-checkin|
|00000020| 67 20 56 31 2e 30 30 20 | 28 32 35 2f 30 34 2f 31 |g V1.00 |(25/04/1|
|00000030| 39 39 39 29 00 3b 20 28 | 43 29 20 52 6f 62 65 72 |999).; (|C) Rober|
|00000040| 74 20 48 75 74 63 68 69 | 6e 73 6f 6e 20 31 39 39 |t Hutchi|nson 199|
|00000050| 39 21 00 3b 20 53 61 74 | 61 6e 69 63 20 44 72 65 |9!.; Sat|anic Dre|
|00000060| 61 6d 73 20 53 6f 66 74 | 77 61 72 65 20 31 39 39 |ams Soft|ware 199|
|00000070| 39 21 20 5b 4c 6f 6b 69 | 5e 53 44 5d 00 3b 00 3b |9! [Loki|^SD].;.;|
|00000080| 20 46 65 65 6c 20 66 72 | 65 65 20 74 6f 20 75 73 | Feel fr|ee to us|
|00000090| 65 20 74 68 69 73 20 65 | 78 61 6d 70 6c 65 20 61 |e this e|xample a|
|000000a0| 6e 79 20 77 61 79 20 79 | 6f 75 20 6c 69 6b 65 20 |ny way y|ou like |
|000000b0| 3b 29 00 3b 20 50 6c 65 | 61 73 65 20 65 6d 61 69 |;).; Ple|ase emai|
|000000c0| 6c 20 6d 65 20 77 69 74 | 68 20 61 6e 79 20 62 75 |l me wit|h any bu|
|000000d0| 67 20 72 65 70 6f 72 74 | 73 20 6f 72 20 63 68 61 |g report|s or cha|
|000000e0| 6e 67 65 73 20 70 6c 65 | 61 73 65 3a 00 3b 00 3b |nges ple|ase:.;.;|
|000000f0| 20 20 20 6c 6f 6b 69 40 | 73 64 73 6f 66 74 2e 66 | loki@|sdsoft.f|
|00000100| 72 65 65 73 65 72 76 65 | 2e 63 6f 2e 75 6b 00 3b |reeserve|.co.uk.;|
|00000110| 00 3b 20 54 68 69 73 20 | 65 78 61 6d 70 6c 65 20 |.; This |example |
|00000120| 77 69 6c 6c 20 75 73 65 | 20 74 68 65 20 4e 65 77 |will use| the New|
|00000130| 49 63 6f 6e 20 69 6d 61 | 67 65 73 20 69 66 20 61 |Icon ima|ges if a|
|00000140| 76 61 69 6c 69 62 6c 65 | 20 61 6e 64 00 3b 20 77 |vailible| and.; w|
|00000150| 69 6c 6c 20 66 61 6c 6c | 62 61 63 6b 20 6f 6e 20 |ill fall|back on |
|00000160| 74 68 65 20 53 74 61 6e | 64 61 72 64 20 69 6d 61 |the Stan|dard ima|
|00000170| 67 65 73 20 6f 74 68 65 | 72 77 69 73 65 2e 20 4e |ges othe|rwise. N|
|00000180| 49 00 3b 20 69 6d 61 67 | 65 20 76 69 65 77 69 6e |I.; imag|e viewin|
|00000190| 67 20 63 61 6e 20 62 65 | 20 6f 76 65 72 72 69 64 |g can be| overrid|
|000001a0| 64 65 6e 20 62 79 20 73 | 65 74 74 69 6e 67 20 23 |den by s|etting #|
|000001b0| 4e 49 42 5f 4f 56 45 52 | 52 49 44 45 3d 31 00 3b |NIB_OVER|RIDE=1.;|
|000001c0| 00 3b 20 52 65 71 75 69 | 72 65 6d 65 6e 74 73 3a |.; Requi|rements:|
|000001d0| 00 3b 00 3b 20 20 20 6f | 20 4e 65 77 49 63 6f 6e |.;.; o| NewIcon|
|000001e0| 73 42 6c 69 74 7a 20 69 | 6e 73 74 61 6c 6c 65 64 |sBlitz i|nstalled|
|000001f0| 20 63 6f 72 72 65 63 74 | 6c 79 20 28 73 65 65 20 | correct|ly (see |
|00000200| 64 6f 63 73 29 00 3b 20 | 20 20 6f 20 54 68 65 20 |docs).; | o The |
|00000210| 4e 49 42 5f 53 69 6e 67 | 6c 65 5f 49 6e 63 6c 75 |NIB_Sing|le_Inclu|
|00000220| 64 65 2e 42 42 32 20 69 | 6e 63 6c 75 64 65 20 28 |de.BB2 i|nclude (|
|00000230| 70 72 6f 76 69 64 65 64 | 29 00 3b 20 20 20 6f 20 |provided|).; o |
|00000240| 6e 65 77 69 63 6f 6e 2e | 6c 69 62 72 61 72 79 20 |newicon.|library |
|00000250| 28 56 34 20 70 72 65 66 | 65 72 61 62 6c 79 21 29 |(V4 pref|erably!)|
|00000260| 00 3b 00 3b 20 42 54 57 | 20 2d 20 54 68 69 73 20 |.;.; BTW| - This |
|00000270| 69 73 20 68 6f 77 20 79 | 6f 75 72 20 70 72 6f 67 |is how y|our prog|
|00000280| 72 61 6d 20 53 48 4f 55 | 4c 44 20 66 75 6e 63 74 |ram SHOU|LD funct|
|00000290| 69 6f 6e 20 3b 29 00 3b | 20 20 20 20 20 20 20 28 |ion ;).;| (|
|000002a0| 4f 66 20 63 6f 75 72 73 | 65 20 64 65 70 65 6e 64 |Of cours|e depend|
|000002b0| 69 6e 67 20 6f 6e 20 77 | 68 61 74 20 79 6f 75 20 |ing on w|hat you |
|000002c0| 61 72 65 20 64 6f 69 6e | 67 20 3b 29 29 00 3b 00 |are doin|g ;)).;.|
|000002d0| 00 23 4e 49 42 5f 4f 56 | 45 52 52 49 44 45 3d 30 |.#NIB_OV|ERRIDE=0|
|000002e0| 00 00 cf 02 20 30 00 ff | b5 00 00 20 20 80 12 20 |.... 0..|... .. |
|000002f0| 22 2f 4e 49 42 49 6e 63 | 6c 75 64 65 73 2f 4e 49 |"/NIBInc|ludes/NI|
|00000300| 42 5f 49 6e 63 6c 75 64 | 65 2e 42 42 32 22 00 00 |B_Includ|e.BB2"..|
|00000310| 20 20 3b 2d 2d 2d 20 43 | 68 65 63 6b 20 6f 75 72 | ;--- C|heck our|
|00000320| 20 6c 69 62 72 61 72 69 | 65 73 00 20 20 3b 00 20 | librari|es. ;. |
|00000330| 20 80 0b 20 4e 49 42 43 | 68 65 63 6b 4c 69 62 73 | .. NIBC|heckLibs|
|00000340| 7b 7d 3d bc 0f 00 20 20 | 20 20 dd 82 20 22 49 6e |{}=... | .. "In|
|00000350| 63 6f 72 72 65 63 74 20 | 6f 72 20 6e 6f 6e 2d 70 |correct |or non-p|
|00000360| 72 65 73 65 6e 74 20 6e | 65 77 69 63 6f 6e 2e 6c |resent n|ewicon.l|
|00000370| 69 62 72 61 72 79 2f 69 | 63 6f 6e 2e 6c 69 62 72 |ibrary/i|con.libr|
|00000380| 61 72 79 21 22 00 20 20 | 20 20 80 02 00 20 20 80 |ary!". | ... .|
|00000390| c0 00 00 20 20 80 0b 20 | 4e 49 42 4f 70 65 6e 49 |... .. |NIBOpenI|
|000003a0| 63 6f 6e 7b 30 2c 22 59 | 41 4d 3a 59 41 4d 22 7d |con{0,"Y|AM:YAM"}|
|000003b0| 3d bc 0f 00 20 20 20 20 | dd 82 20 22 43 61 6e 74 |=... |.. "Cant|
|000003c0| 20 4c 6f 61 64 20 49 63 | 6f 6e 21 22 00 20 20 20 | Load Ic|on!". |
|000003d0| 20 80 02 00 20 20 80 c0 | 00 00 20 20 69 6d 67 73 | ... ..|.. imgs|
|000003e0| 2e 62 3d 4e 49 42 43 68 | 65 63 6b 53 74 72 75 63 |.b=NIBCh|eckStruc|
|000003f0| 74 7b 30 7d 00 00 20 20 | 80 0b 20 69 6d 67 73 3d |t{0}.. |.. imgs=|
|00000400| 30 00 20 20 20 20 73 69 | 6d 67 73 2e 62 3d 53 54 |0. si|mgs.b=ST|
|00000410| 44 43 68 65 63 6b 53 74 | 72 75 63 74 7b 30 7d 00 |DCheckSt|ruct{0}.|
|00000420| 20 20 20 20 80 0b 20 73 | 69 6d 67 73 3d 30 00 20 | .. s|imgs=0. |
|00000430| 20 20 20 20 20 4e 49 42 | 46 72 65 65 49 63 6f 6e | NIB|FreeIcon|
|00000440| 7b 30 7d 00 20 20 20 20 | 20 20 80 02 00 20 20 20 |{0}. | ... |
|00000450| 20 80 c0 00 20 20 20 20 | 55 73 65 53 54 44 3d 31 | ... |UseSTD=1|
|00000460| 00 20 20 80 c0 00 00 20 | 20 80 0b 20 23 4e 49 42 |. .... | .. #NIB|
|00000470| 5f 4f 56 45 52 52 49 44 | 45 3d 31 00 20 20 20 20 |_OVERRID|E=1. |
|00000480| 55 73 65 53 54 44 3d 31 | 00 20 20 80 c0 00 00 20 |UseSTD=1|. .... |
|00000490| 20 80 0b 20 55 73 65 53 | 54 44 3d 30 00 20 20 20 | .. UseS|TD=0. |
|000004a0| 20 4e 49 42 52 65 6d 61 | 70 43 68 75 6e 6b 79 44 | NIBRema|pChunkyD|
|000004b0| 61 74 61 7b 30 2c 23 4e | 49 42 5f 42 4f 54 48 2c |ata{0,#N|IB_BOTH,|
|000004c0| 30 7d 00 20 20 20 20 80 | 0b 20 69 6d 67 73 3d 31 |0}. .|. imgs=1|
|000004d0| 00 20 20 20 20 20 20 4e | 6f 72 6d 4f 4e 4c 59 3d |. N|ormONLY=|
|000004e0| 31 00 20 20 20 20 80 c0 | 00 20 20 20 20 49 6d 67 |1. ..|. Img|
|000004f0| 57 2e 77 3d 4e 49 42 46 | 69 6e 64 57 69 64 74 68 |W.w=NIBF|indWidth|
|00000500| 7b 30 7d 00 20 20 20 20 | 49 6d 67 48 2e 77 3d 4e |{0}. |ImgH.w=N|
|00000510| 49 42 46 69 6e 64 48 65 | 69 67 68 74 7b 30 7d 00 |IBFindHe|ight{0}.|
|00000520| 20 20 80 22 00 20 20 20 | 20 80 0b 20 73 69 6d 67 | .". | .. simg|
|00000530| 73 3d 31 00 20 20 20 20 | 20 20 4e 6f 72 6d 4f 4e |s=1. | NormON|
|00000540| 4c 59 3d 31 00 20 20 20 | 20 80 c0 00 20 20 20 20 |LY=1. | ... |
|00000550| 53 54 44 54 6f 49 6d 61 | 67 65 73 7b 30 7d 00 20 |STDToIma|ges{0}. |
|00000560| 20 20 20 49 6d 67 57 2e | 77 3d 53 54 44 46 69 6e | ImgW.|w=STDFin|
|00000570| 64 57 69 64 74 68 7b 30 | 7d 00 20 20 20 20 49 6d |dWidth{0|}. Im|
|00000580| 67 48 2e 77 3d 53 54 44 | 46 69 6e 64 48 65 69 67 |gH.w=STD|FindHeig|
|00000590| 68 74 7b 30 7d 00 20 20 | 80 c0 00 00 20 20 80 0b |ht{0}. |.... ..|
|000005a0| 20 49 6d 67 57 3d 30 20 | 80 8a 20 49 6d 67 48 3d | ImgW=0 |.. ImgH=|
|000005b0| 30 00 20 20 20 20 4e 49 | 42 46 72 65 65 49 63 6f |0. NI|BFreeIco|
|000005c0| 6e 7b 30 7d 00 20 20 20 | 20 80 02 00 20 20 80 c0 |n{0}. | ... ..|
|000005d0| 00 00 20 20 3b 23 23 23 | 23 23 23 23 23 23 23 23 |.. ;###|########|
|000005e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000005f0| 23 23 23 23 23 23 00 00 | 20 20 c5 01 20 30 2c 35 |######..| .. 0,5|
|00000600| 30 2c 35 30 2c 49 6d 67 | 57 2b 31 30 2c 28 49 6d |0,50,Img|W+10,(Im|
|00000610| 67 48 2a 69 6d 67 73 29 | 2b 31 31 2c 24 30 2c 22 |gH*imgs)|+11,$0,"|
|00000620| 22 2c 30 2c 31 00 20 20 | d2 02 00 00 20 20 3b 23 |",0,1. |.... ;#|
|00000630| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000640| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000650| 00 00 20 20 80 0b 20 55 | 73 65 53 54 44 3d 30 00 |.. .. U|seSTD=0.|
|00000660| 20 20 20 20 73 75 63 63 | 2e 62 3d 4e 49 42 44 72 | succ|.b=NIBDr|
|00000670| 61 77 49 6d 61 67 65 7b | 30 2c 23 4e 49 42 5f 4e |awImage{|0,#NIB_N|
|00000680| 4f 52 4d 41 4c 20 20 2c | 30 2c 35 2c 35 7d 00 20 |ORMAL ,|0,5,5}. |
|00000690| 20 20 20 80 0b 20 4e 6f | 72 6d 4f 4e 4c 59 3d 30 | .. No|rmONLY=0|
|000006a0| 00 20 20 20 20 20 20 73 | 75 63 63 2e 62 3d 4e 49 |. s|ucc.b=NI|
|000006b0| 42 44 72 61 77 49 6d 61 | 67 65 7b 30 2c 23 4e 49 |BDrawIma|ge{0,#NI|
|000006c0| 42 5f 53 45 4c 45 43 54 | 45 44 2c 30 2c 35 2c 36 |B_SELECT|ED,0,5,6|
|000006d0| 2b 49 6d 67 48 7d 00 20 | 20 20 20 80 c0 00 20 20 |+ImgH}. | ... |
|000006e0| 80 22 00 20 20 20 20 73 | 75 63 63 2e 62 3d 53 54 |.". s|ucc.b=ST|
|000006f0| 44 44 72 61 77 49 6d 61 | 67 65 7b 30 2c 23 4e 49 |DDrawIma|ge{0,#NI|
|00000700| 42 5f 4e 4f 52 4d 41 4c | 20 20 2c 30 2c 35 2c 35 |B_NORMAL| ,0,5,5|
|00000710| 7d 00 20 20 20 20 80 0b | 20 4e 6f 72 6d 4f 4e 4c |}. ..| NormONL|
|00000720| 59 3d 30 00 20 20 20 20 | 20 20 73 75 63 63 2e 62 |Y=0. | succ.b|
|00000730| 3d 53 54 44 44 72 61 77 | 49 6d 61 67 65 7b 30 2c |=STDDraw|Image{0,|
|00000740| 23 4e 49 42 5f 53 45 4c | 45 43 54 45 44 2c 30 2c |#NIB_SEL|ECTED,0,|
|00000750| 35 2c 36 2b 49 6d 67 48 | 7d 00 20 20 20 20 80 c0 |5,6+ImgH|}. ..|
|00000760| 00 20 20 80 c0 00 00 20 | 20 80 0a 00 00 20 20 4e |. .... | .... N|
|00000770| 49 42 46 72 65 65 49 6d | 61 67 65 73 7b 30 2c 23 |IBFreeIm|ages{0,#|
|00000780| 4e 49 42 5f 42 4f 54 48 | 2c 30 7d 00 20 20 4e 49 |NIB_BOTH|,0}. NI|
|00000790| 42 46 72 65 65 49 63 6f | 6e 7b 30 7d 00 20 20 c5 |BFreeIco|n{0}. .|
|000007a0| 3c 20 30 00 00 80 02 00 | 00 00 |< 0.....|.. |
+--------+-------------------------+-------------------------+--------+--------+